package com.edu.zut.hb.software.server.service;


import com.edu.zut.hb.software.server.pojo.RespBean;
import com.edu.zut.hb.software.server.pojo.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhoubin
 * @since 2021-08-15
 */
public interface ITeacherService extends IService<Teacher> {
    /**
     *获取单个学生信息
     * @return
     */
    List<Teacher> getOneTeacher(String name);
    RespBean login(String username, String password, String code, HttpServletRequest request);
    /**
     * 获取教室信息
     * @param room
     * @return
     */
    List<Teacher> getOneRoom(String room);
    /**
     * 获取教室信息
     * @param classroom
     * @return
     */
    List<Teacher> getOneClass(String classroom);

    Teacher getTeacherByUserName(String username);
}
